
<!-- target:bill -->
<form name="billListForm" action="javascript: void(0);" class="flex-page grey-bg">
    <input type="text" name="type" value="3" class="ui-hide">
    <div class="search-cont white-bg">
        <div ui="type:mao.ui.SearchText;listView:bill-list-view">
            <input type="search" value="" name="searchContent" autocomplete="off" placeholder="搜索">
            <span class="ui-search-close">取消</span>
        </div>
    </div>
    <ul ui="type:mao.ui.AppListView;id:bill-list-view;view:billList;initRefresh;reqUrl:/erp-management/cost/list?billListForm;customEmpty:true;" class="page-cont cost-items grey-bg">
        <!-- use:list-empty -->
    </ul>
</form>
<div class="ui-cost-invoice-add" ui="type:mao.ui.PopupButton">
    <div class="icon"></div>
    <div class="label">记费用</div>
    <ul>
        <li ui="ext-link;ext-hide-popup" href="#/finance/book.edit~DENY_CACHE">
            <div class="icon edit"></div>
            <div class="name">手工录入</div>
        </li>
        <li ui="type:mao.ui.CostInvoiceUpload;sourceType:camera;fromBill">
            <input name="file" type="file" class="file"/>
            <div class="icon photo"></div>
            <div class="name">拍照</div>
        </li>
        <li ui="type:mao.ui.CostInvoiceUpload;sourceType:album;fromBill">
            <input name="file" type="file" class="file"/>
            <div class="icon picture"></div>
            <div class="name">上传照片</div>
        </li>
        <li ui="type:mao.ui.CostInvoiceUpload;fromBill" class="choose-file">
            <input name="file" type="file" class="file" accept="pdf/*"/>
            <div class="icon pdf"></div>
            <div class="name">上传PDF</div>
        </li>
        <li>
            <div class="icon zfb"></div>
            <div class="name">支付宝发票</div>
        </li>
    </ul>
</div>

<!-- 申请单选择列表项 -->
<!-- target:billListItem -->
<li>
    <div class="cost-item white-bg cost-${item.costType}">
        <div class="cost-info">
            <span class="icon"></span>
            <span class="name">${item.costType|parseBaseInfo('finCostType')}</span>
            <span class="money fr">￥${item.costAmount}</span>
            <div class="time">${item.costTime|dateFormat('yyyy-MM-dd')}</div>
        </div>
        <div class="cost-cont">
            <div>消费城市：${item.costCityId|parseRegion}</div>
        </div>
    </div>
</li>